package com.tanhua.common.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 问卷测试结果表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_questionnaire_result")
public class QuestionnaireResult extends BasePojo {
    private Long id;
    private Long questionnaireId;    //问卷id
    private String scope;    //结果得分范围:min,max
    private String cover;    //结果封面图
    private String content;    // 结果的文字描述
    @TableField(fill = FieldFill.INSERT)  //MP自动填充
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;
}
